package po;

import java.io.Serializable;

public class CatalogPO implements Serializable {
	
	private static final long serialVersionUID = 4424536518549834563L;
	
	private int id;
	private String name;
	
	public CatalogPO(int id, String name) {
		super();
		this.id = id;
		this.name = name;
	}
	
	public CatalogPO() {
		this.id = 0;
		this.name = "";
	}
	
	public CatalogPO(CatalogPO catalogPO) {
		this.id = catalogPO.id;
		this.name = catalogPO.name;
	}

	@Override
	public String toString() {
		return "CatalogPO [id=" + id + ", name=" + name + "]";
	}

	public int getID() {
		return id;
	}
	
	public String getName() {
		return name;
	}

	public void setId(int id) {
		this.id = id;
	}

	public void setName(String name) {
		this.name = name;
	}

}
